package cn.virens.service.inter.sys;

import java.util.List;

import cn.virens.database.common.BaseService;
import cn.virens.database.enums.UserType;
import cn.virens.database.mysql.model.sys.SysUser;
import cn.virens.database.mysql.model.sys.SysUserBind;

/**
 * 用户管理 - sys_user
 *
 * @author Virens
 * @since  2018-08-25 15:39:30
 */
public interface SysUserService extends BaseService<SysUser> {

	SysUserBind bindCreate(SysUserBind record);

	SysUserBind bindDelete(SysUserBind record);

	SysUserBind bindUpdate(SysUserBind record);

	List<SysUserBind> bindSelect(String uuid);

	SysUser update(SysUser record, String uuid);

	SysUser insert(SysUser record, SysUserBind bind);

	SysUserBind bindCheck(UserType type, String account);

}
